import Vue from 'vue';
import App from './App.vue';
import router from './router/router.js';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import zhCn from 'element-ui/lib/locale/lang/zh-CN';

new Vue({
  el: '#app',
  router,
  render: h => h(App),
  beforeCreate() {
    Vue.use(ElementUI, { locale: zhCn });
  }
});